﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin.aspx.cs" Inherits="PlugNT.Cms.Web.Admin.Pre_Templet.Admin" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>绑定模板</title>
<link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
<link href="../css/class.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>

<div class="frmstatic" style="display:block;">
    <span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
    <div class="nav_menu">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tr>
            <td align="left">
                <table>
                    <tr>
                        <td><img src="../images/main_home.gif" width="16" height="16" /></td>
                        <td><label>内容&nbsp;&gt;&nbsp;模板管理&nbsp;&gt;&nbsp;绑定模板</label></td>
                    </tr>
                </table>
            </td>
            <td align="right">
                <table>
                    <tr>
                        <td><img src="../images/arrow_left.png" width="16" height="16" /></td>
                        <td><label><a href="./List.aspx" class="sub_menu">模板列表</a></label> |  </td>
                        <td><label><a href="./Add.aspx" class="sub_menu">添加模板</a></label> |  <//td>
                        <td><label><a href="./Replace.aspx" class="sub_menu">替换模板</a></label> |  </td>
                        <td><label><a href="javascript:window.history.back();" class="sub_menu">返回</a></label></td>
                    </tr>
                </table>
            </td>
          </tr>
        </table>
    </div>
    <span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</div>

<div class="frmstatic" style="display:block; margin-top:10px;">
<form id="form1" runat="server">
<span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
<div class="controls">

          <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#f4fbff">
          <tr>
           <td>
            <table cellpadding=0 cellspacing=1 border=0 align="center" width="100%">
            <tr>
                <td valign="top">
                    
                    <asp:Repeater ID="rptStaticTemplets" runat="server" OnItemDataBound="rptStaticTemplets_ItemDataBound">
                        <HeaderTemplate>
                         <table class="main_table" cellpadding="0" cellspacing="1" border="0" width="100%">
                           <tr align="center" class="td_title">
                                <td align="left" width="40%"><img src="../images/plugin.png" alt="" name="" width="16" height="16">&nbsp;栏目名称</td>
                                <td align="left" width="13%">聚合模板</td>
                                <td align="left" width="13%">列表模板</td>
                                <td align="left" width="12%">内容模板</td>
                                <td align="left" width="12%">动态模板</td>
                                <td align="center" width="10%">操作</td>
                           </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                         <tr class="td_on" onmouseover="this.className='td_off'" onmouseout="this.className='td_on'">
                            <td>
                                <asp:Literal ID="litFirst" runat="server"></asp:Literal>
                                <asp:Label ID="labName" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"title") %>'></asp:Label>
                            </td>
                            <asp:Literal ID="litHasTemplet" runat="server"></asp:Literal>
                            <td align="center">                          
                                 <a href='List.aspx?cid=<%#DataBinder.Eval(Container.DataItem,"id") %>'>管理</a>
                            </td>
                         </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                        </table>
                        </FooterTemplate>
                    </asp:Repeater>
                    <span style="color:#999; "><!--#ffaa25//-->
                    (提示：路径中包含{tmp:templetdir}表示模板目录)
                    </span>
                </td>
            </tr>
          </table>
          
        </td>
       </tr>
      </table>

</div>
<span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</form>
</div>

</body>
</html>
